#encoding:utf8


def getVerInt(verstr):
    value = [100,10,1]
    ret = verstr.split(".")

    tarint = 0
    index = 0
    for num in ret:
        tarint = tarint + value[index] * int(num)
        index = index + 1
    return tarint